<%@ Page Language="C#" MasterPageFile="../main.master" Inherits="VioletDevelopmentLaboratory.Net.Web.Configuration.VWebConfigManagerPage" %>

<script runat="server">
	protected void ProfileDetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
	{
		ShowAlert_DetailsView_ItemUpdated(e);
	}

	
	
	
	
	
	
	
	
	
	protected void ProvidersGridView_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
	{
		ProvidersDetailsView.ChangeMode(DetailsViewMode.ReadOnly);
	}

	protected void ProvidersDetailsView_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
	{
		ShowAlert_DetailsView_ItemInserted(e);

		ProvidersGridView.SelectedIndex = -1;
		ProvidersGridView.DataBind();
	}

	protected void ProvidersDetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
	{
		ShowAlert_DetailsView_ItemUpdated(e);

		ProvidersGridView.SelectedIndex = -1;
		ProvidersGridView.DataBind();
	}

	protected void ProvidersDetailsView_ItemDeleted(object sender, DetailsViewDeletedEventArgs e)
	{
		ShowAlert_DetailsView_ItemDeleted(e);

		ProvidersDetailsView.ChangeMode(DetailsViewMode.Insert);
		
		ProvidersGridView.SelectedIndex = -1;
		ProvidersGridView.DataBind();
	}

	
	
	
	
	
	
	
	protected void RootPropertiesGridView_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
	{
		RootPropertiesDetailsView.ChangeMode(DetailsViewMode.ReadOnly);
	}

	protected void RootPropertiesDetailsView_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
	{
		ShowAlert_DetailsView_ItemInserted(e);

		RootPropertiesGridView.SelectedIndex = -1;
		RootPropertiesGridView.DataBind();
	}

	protected void RootPropertiesDetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
	{
		ShowAlert_DetailsView_ItemUpdated(e);

		RootPropertiesGridView.SelectedIndex = -1;
		RootPropertiesGridView.DataBind();
	}

	protected void RootPropertiesDetailsView_ItemDeleted(object sender, DetailsViewDeletedEventArgs e)
	{
		ShowAlert_DetailsView_ItemDeleted(e);

		RootPropertiesDetailsView.ChangeMode(DetailsViewMode.Insert);

		RootPropertiesGridView.SelectedIndex = -1;
		RootPropertiesGridView.DataBind();
	}

	
	
	
	
	
	
	
	protected void GroupGridView_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
	{
		GroupDetailsView.ChangeMode(DetailsViewMode.ReadOnly);
	}

	protected void GroupDetailsView_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
	{
		ShowAlert_DetailsView_ItemInserted(e);

		GroupGridView.SelectedIndex = -1;
		GroupGridView.DataBind();

		GroupDropDownList.DataBind();
	}

	protected void GroupDetailsView_ItemDeleted(object sender, DetailsViewDeletedEventArgs e)
	{
		ShowAlert_DetailsView_ItemDeleted(e);

		GroupDetailsView.ChangeMode(DetailsViewMode.Insert);
		
		GroupGridView.SelectedIndex = -1;
		GroupGridView.DataBind();

		GroupDropDownList.DataBind();
	}

	
	
	
	
	
	
	
	
	
	
	protected void GroupPropertiesGridView_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
	{
		GroupPropertiesDetailsView.ChangeMode(DetailsViewMode.ReadOnly);
	}

	protected void GroupPropertiesDetailsView_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
	{
		ShowAlert_DetailsView_ItemInserted(e);

		GroupPropertiesGridView.SelectedIndex = -1;
		GroupPropertiesGridView.DataBind();
	}

	protected void GroupPropertiesDetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
	{
		ShowAlert_DetailsView_ItemUpdated(e);

		GroupPropertiesGridView.SelectedIndex = -1;
		GroupPropertiesGridView.DataBind();
	}

	protected void GroupPropertiesDetailsView_ItemDeleted(object sender, DetailsViewDeletedEventArgs e)
	{
		ShowAlert_DetailsView_ItemDeleted(e);

		GroupPropertiesDetailsView.ChangeMode(DetailsViewMode.Insert);
		
		GroupPropertiesGridView.SelectedIndex = -1;
		GroupPropertiesGridView.DataBind();
	}
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceHolder" runat="server">

	<h2>Profile (SqlProfileProvider)</h2>

	<div>
		<asp:ObjectDataSource ID="ProfileDetailsViewDataSource" runat="server" 
			SelectMethod="GetProfile" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager" 
			UpdateMethod="Modify">
			<UpdateParameters>
				<asp:Parameter Name="automaticSaveEnabled" Type="Boolean" />
				<asp:Parameter Name="defaultProvider" Type="String" />
				<asp:Parameter Name="enabled" Type="Boolean" />
				<asp:Parameter Name="inherits" Type="String" />
			</UpdateParameters>
		</asp:ObjectDataSource>
		<fieldset>
			<legend>profile</legend>
			<asp:DetailsView ID="ProfileDetailsView" runat="server" CellPadding="5" 
							AutoGenerateRows="False" DataSourceID="ProfileDetailsViewDataSource" 
							DefaultMode="Edit" onitemupdated="ProfileDetailsView_ItemUpdated">
				<Fields>
					<asp:CheckBoxField DataField="AutomaticSaveEnabled" 
						HeaderText="AutomaticSaveEnabled" SortExpression="AutomaticSaveEnabled" />
					<asp:CheckBoxField DataField="Enabled" HeaderText="Enabled" 
						SortExpression="Enabled" />
					<asp:BoundField DataField="DefaultProvider" HeaderText="DefaultProvider" 
						SortExpression="DefaultProvider" />
					<asp:BoundField DataField="Inherits" HeaderText="Inherits" 
						SortExpression="Inherits" />
					<asp:CommandField ShowEditButton="True" ButtonType="Button" />
				</Fields>
			</asp:DetailsView>
		</fieldset>
	</div>

	<div style="margin-left : 30px">
		<asp:ObjectDataSource ID="ProvidersDetailsViewDataSource" runat="server" 
			DataObjectTypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.SqlProfileProviderSettings" 
			DeleteMethod="RemoveProvider" InsertMethod="AddProvider" 
			SelectMethod="GetProvider" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManagerForSql" 
			UpdateMethod="ModifyProvider">
			<SelectParameters>
				<asp:ControlParameter ControlID="ProvidersGridView" Name="name" 
					PropertyName="SelectedValue" Type="String" />
			</SelectParameters>
		</asp:ObjectDataSource>
		<asp:ObjectDataSource ID="ProvidersGridViewDataSource" runat="server" 
			SelectMethod="GetProviders" 
			
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManagerForSql"></asp:ObjectDataSource>
		<fieldset>
			<legend>provider</legend>
			<asp:DetailsView ID="ProvidersDetailsView" runat="server" CellPadding="5" 
				AutoGenerateRows="False" DataSourceID="ProvidersDetailsViewDataSource" 
				DefaultMode="Insert" oniteminserted="ProvidersDetailsView_ItemInserted" 
				onitemupdated="ProvidersDetailsView_ItemUpdated" 
				onitemdeleted="ProvidersDetailsView_ItemDeleted" DataKeyNames="Name">
				<Fields>
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="ConnectionStringName" 
						HeaderText="ConnectionStringName" SortExpression="ConnectionStringName" />
					<asp:BoundField DataField="CommandTimeout" HeaderText="CommandTimeout (30)" 
						SortExpression="CommandTimeout" />
					<asp:BoundField DataField="Description" HeaderText="Description" 
						SortExpression="Description" />
					<asp:BoundField DataField="ApplicationName" HeaderText="ApplicationName" 
						SortExpression="ApplicationName" />
					<asp:CommandField ButtonType="Button" ShowDeleteButton="True" 
						ShowEditButton="True" ShowInsertButton="True" />
				</Fields>
			</asp:DetailsView>
			<asp:GridView ID="ProvidersGridView" runat="server" AutoGenerateColumns="False" 
				CellPadding="5" DataKeyNames="Name" DataSourceID="ProvidersGridViewDataSource" 
				onselectedindexchanging="ProvidersGridView_SelectedIndexChanging">
				<Columns>
					<asp:CommandField ShowSelectButton="True" />
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="ConnectionStringName" 
						HeaderText="ConnectionStringName" SortExpression="ConnectionStringName" />
					<asp:BoundField DataField="CommandTimeout" HeaderText="CommandTimeout" 
						SortExpression="CommandTimeout" />
					<asp:BoundField DataField="Description" HeaderText="Description" 
						SortExpression="Description" />
					<asp:BoundField DataField="ApplicationName" HeaderText="ApplicationName" 
						SortExpression="ApplicationName" />
				</Columns>
				<SelectedRowStyle BackColor="SkyBlue" />
			</asp:GridView>
		</fieldset>
	</div>

	<div style="margin-left : 30px">
		<asp:ObjectDataSource ID="RootPropertiesDetailsViewDataSource" runat="server" 
			DeleteMethod="RemoveProperty" InsertMethod="AddProperty" 
			SelectMethod="GetProperty" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager" 
			UpdateMethod="ModifyProperty">
			<DeleteParameters>
				<asp:Parameter Name="name" Type="String" />
			</DeleteParameters>
			<UpdateParameters>
				<asp:Parameter Name="name" Type="String" />
				<asp:Parameter Name="type" Type="String" />
				<asp:Parameter Name="provider" Type="String" />
				<asp:Parameter Name="serializeAs" Type="Object" />
				<asp:Parameter Name="allowAnonymous" Type="Boolean" />
				<asp:Parameter Name="defaultValue" Type="String" />
				<asp:Parameter Name="readOnly" Type="Boolean" />
				<asp:Parameter Name="customProviderData" Type="String" />
			</UpdateParameters>
			<SelectParameters>
				<asp:ControlParameter ControlID="RootPropertiesGridView" Name="name" 
					PropertyName="SelectedValue" Type="String" />
			</SelectParameters>
			<InsertParameters>
				<asp:Parameter Name="name" Type="String" />
				<asp:Parameter Name="type" Type="String" />
				<asp:Parameter Name="provider" Type="String" />
				<asp:Parameter Name="serializeAs" Type="Object" />
				<asp:Parameter Name="allowAnonymous" Type="Boolean" />
				<asp:Parameter Name="defaultValue" Type="String" />
				<asp:Parameter Name="readOnly" Type="Boolean" />
				<asp:Parameter Name="customProviderData" Type="String" />
			</InsertParameters>
		</asp:ObjectDataSource>
		<asp:ObjectDataSource ID="RootPropertiesGridViewDataSource" runat="server" 
			SelectMethod="GetProperties" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager"></asp:ObjectDataSource>
		<fieldset>
			<legend>properties</legend>
			<asp:DetailsView ID="RootPropertiesDetailsView" runat="server" CellPadding="5" 
				AutoGenerateRows="False" DataSourceID="RootPropertiesDetailsViewDataSource" 
				DefaultMode="Insert" oniteminserted="RootPropertiesDetailsView_ItemInserted" 
				onitemupdated="RootPropertiesDetailsView_ItemUpdated" 
				onitemdeleted="RootPropertiesDetailsView_ItemDeleted" DataKeyNames="Name">
				<Fields>
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" 
						ReadOnly="True" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="Provider" HeaderText="Provider" 
						SortExpression="Provider" />
					<asp:TemplateField HeaderText="SerializeAs" SortExpression="SerializeAs">
						<ItemTemplate>
							<%# Eval("SerializeAs") %>
						</ItemTemplate>
						<EditItemTemplate>
							<asp:DropDownList ID="SerializeAsDropDownList" runat="server" 
								SelectedValue='<%# Bind("SerializeAs") %>'>
								<asp:ListItem>String</asp:ListItem>
								<asp:ListItem>Xml</asp:ListItem>
								<asp:ListItem>Binary</asp:ListItem>
								<asp:ListItem>ProviderSpecific</asp:ListItem>
							</asp:DropDownList>
						</EditItemTemplate>
						<InsertItemTemplate>
							<asp:DropDownList ID="SerializeAsDropDownList" runat="server" 
								SelectedValue='<%# Bind("SerializeAs") %>'>
								<asp:ListItem>String</asp:ListItem>
								<asp:ListItem>Xml</asp:ListItem>
								<asp:ListItem>Binary</asp:ListItem>
								<asp:ListItem>ProviderSpecific</asp:ListItem>
							</asp:DropDownList>
						</InsertItemTemplate>
					</asp:TemplateField>
					<asp:CheckBoxField DataField="AllowAnonymous" HeaderText="AllowAnonymous" 
						SortExpression="AllowAnonymous" />
					<asp:BoundField DataField="DefaultValue" HeaderText="DefaultValue" 
						SortExpression="DefaultValue" />
					<asp:CheckBoxField DataField="ReadOnly" HeaderText="ReadOnly" 
						SortExpression="ReadOnly" />
					<asp:BoundField DataField="CustomProviderData" HeaderText="CustomProviderData" 
						SortExpression="CustomProviderData" />
					<asp:CommandField ButtonType="Button" ShowDeleteButton="True" 
						ShowEditButton="True" ShowInsertButton="True" />
				</Fields>
			</asp:DetailsView>
			<asp:GridView ID="RootPropertiesGridView" runat="server" 
				AutoGenerateColumns="False" CellPadding="5" DataKeyNames="Name" 
				DataSourceID="RootPropertiesGridViewDataSource" 
				onselectedindexchanging="RootPropertiesGridView_SelectedIndexChanging">
				<Columns>
					<asp:CommandField ShowSelectButton="True" />
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="Provider" HeaderText="Provider" 
						SortExpression="Provider" />
					<asp:BoundField DataField="SerializeAs" HeaderText="SerializeAs" 
						SortExpression="SerializeAs" />
					<asp:CheckBoxField DataField="AllowAnonymous" HeaderText="AllowAnonymous" 
						SortExpression="AllowAnonymous" />
					<asp:BoundField DataField="DefaultValue" HeaderText="DefaultValue" 
						SortExpression="DefaultValue" />
					<asp:CheckBoxField DataField="ReadOnly" HeaderText="ReadOnly" 
						SortExpression="ReadOnly" />
					<asp:BoundField DataField="CustomProviderData" HeaderText="CustomProviderData" 
						SortExpression="CustomProviderData" />
				</Columns>
				<SelectedRowStyle BackColor="SkyBlue" />
			</asp:GridView>
		</fieldset>
	</div>

	<div style="margin-left : 60px">
		<asp:ObjectDataSource ID="GroupDetailsViewDataSource" runat="server" 
			DeleteMethod="RemoveGroup" InsertMethod="AddGroup" SelectMethod="GetGroup" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager">
			<DeleteParameters>
				<asp:Parameter Name="name" Type="String" />
			</DeleteParameters>
			<SelectParameters>
				<asp:ControlParameter ControlID="GroupGridView" Name="name" 
					PropertyName="SelectedValue" Type="String" />
			</SelectParameters>
			<InsertParameters>
				<asp:Parameter Name="name" Type="String" />
			</InsertParameters>
		</asp:ObjectDataSource>
		<asp:ObjectDataSource ID="GroupGridViewDataSource" runat="server" SelectMethod="GetGroups" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager">
		</asp:ObjectDataSource>
		<fieldset>
			<legend>group</legend>
			<asp:DetailsView ID="GroupDetailsView" runat="server" AutoGenerateRows="False" 
				CellPadding="5" DataSourceID="GroupDetailsViewDataSource" DefaultMode="Insert" 
				oniteminserted="GroupDetailsView_ItemInserted" 
				onitemdeleted="GroupDetailsView_ItemDeleted" DataKeyNames="Name">
				<Fields>
					<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True" 
						SortExpression="Name" />
					<asp:CommandField ButtonType="Button" ShowDeleteButton="True" 
						ShowInsertButton="True" />
				</Fields>
			</asp:DetailsView>
			<asp:GridView ID="GroupGridView" runat="server" AutoGenerateColumns="False" 
				CellPadding="5" DataSourceID="GroupGridViewDataSource" 
				onselectedindexchanging="GroupGridView_SelectedIndexChanging" DataKeyNames="Name">
				<Columns>
					<asp:CommandField ShowSelectButton="True" />
					<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True" 
						SortExpression="Name" />
				</Columns>
			</asp:GridView>
		</fieldset>
	</div>

	<div style="margin-left : 90px">
		<asp:ObjectDataSource ID="GroupPropertiesDetailsViewDataSource" runat="server" 
			DeleteMethod="RemoveGroupProperty" InsertMethod="AddGroupProperty" 
			SelectMethod="GetGroupProperty" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager" 
			UpdateMethod="ModifyGroupProperty">
			<DeleteParameters>
				<asp:ControlParameter ControlID="GroupDropDownList" Name="groupname" 
					PropertyName="SelectedValue" Type="String" />
				<asp:Parameter Name="name" Type="String" />
			</DeleteParameters>
			<UpdateParameters>
				<asp:ControlParameter ControlID="GroupDropDownList" Name="groupName" 
					PropertyName="SelectedValue" Type="String" />
				<asp:Parameter Name="name" Type="String" />
				<asp:Parameter Name="type" Type="String" />
				<asp:Parameter Name="provider" Type="String" />
				<asp:Parameter Name="serializeAs" Type="Object" />
				<asp:Parameter Name="allowAnonymous" Type="Boolean" />
				<asp:Parameter Name="defaultValue" Type="String" />
				<asp:Parameter Name="readOnly" Type="Boolean" />
				<asp:Parameter Name="customProviderData" Type="String" />
			</UpdateParameters>
			<SelectParameters>
				<asp:ControlParameter ControlID="GroupDropDownList" Name="groupName" 
					PropertyName="SelectedValue" Type="String" />
				<asp:ControlParameter ControlID="GroupPropertiesGridView" Name="name" 
					PropertyName="SelectedValue" Type="String" />
			</SelectParameters>
			<InsertParameters>
				<asp:ControlParameter ControlID="GroupDropDownList" Name="groupName" 
					PropertyName="SelectedValue" Type="String" />
				<asp:Parameter Name="name" Type="String" />
				<asp:Parameter Name="type" Type="String" />
				<asp:Parameter Name="provider" Type="String" />
				<asp:Parameter Name="serializeAs" Type="Object" />
				<asp:Parameter Name="allowAnonymous" Type="Boolean" />
				<asp:Parameter Name="defaultValue" Type="String" />
				<asp:Parameter Name="readOnly" Type="Boolean" />
				<asp:Parameter Name="customProviderData" Type="String" />
			</InsertParameters>
		</asp:ObjectDataSource>
		<asp:ObjectDataSource ID="GroupPropertiesGridViewDataSource" runat="server" 
			SelectMethod="GetGroupProperties" 
			TypeName="VioletDevelopmentLaboratory.Net.Web.Configuration.ProfileSectionManager">
			<SelectParameters>
				<asp:ControlParameter ControlID="GroupDropDownList" Name="groupName" 
					PropertyName="SelectedValue" Type="String" />
			</SelectParameters>
		</asp:ObjectDataSource>
		<fieldset>
			<legend>properties</legend>
			<asp:DropDownList ID="GroupDropDownList" runat="server" 
				DataSourceID="GroupGridViewDataSource" DataTextField="Name" 
				DataValueField="Name" AutoPostBack="True">
			</asp:DropDownList>
			<asp:DetailsView ID="GroupPropertiesDetailsView" runat="server" CellPadding="5" 
				AutoGenerateRows="False" DataSourceID="GroupPropertiesDetailsViewDataSource" 
				DefaultMode="Insert" DataKeyNames="Name" 
				oniteminserted="GroupPropertiesDetailsView_ItemInserted" 
				onitemupdated="GroupPropertiesDetailsView_ItemUpdated" 
				onitemdeleted="GroupPropertiesDetailsView_ItemDeleted">
				<Fields>
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" 
						ReadOnly="True" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="Provider" HeaderText="Provider" 
						SortExpression="Provider" />
					<asp:TemplateField HeaderText="SerializeAs" SortExpression="SerializeAs">
						<ItemTemplate>
							<%# Eval("SerializeAs") %>
						</ItemTemplate>
						<EditItemTemplate>
							<asp:DropDownList ID="SerializeAsDropDownList" runat="server" 
								SelectedValue='<%# Bind("SerializeAs") %>'>
								<asp:ListItem>String</asp:ListItem>
								<asp:ListItem>Xml</asp:ListItem>
								<asp:ListItem>Binary</asp:ListItem>
								<asp:ListItem>ProviderSpecific</asp:ListItem>
							</asp:DropDownList>
						</EditItemTemplate>
						<InsertItemTemplate>
							<asp:DropDownList ID="SerializeAsDropDownList" runat="server" 
								SelectedValue='<%# Bind("SerializeAs") %>'>
								<asp:ListItem>String</asp:ListItem>
								<asp:ListItem>Xml</asp:ListItem>
								<asp:ListItem>Binary</asp:ListItem>
								<asp:ListItem>ProviderSpecific</asp:ListItem>
							</asp:DropDownList>
						</InsertItemTemplate>
					</asp:TemplateField>
					<asp:CheckBoxField DataField="AllowAnonymous" HeaderText="AllowAnonymous" 
						SortExpression="AllowAnonymous" />
					<asp:BoundField DataField="DefaultValue" HeaderText="DefaultValue" 
						SortExpression="DefaultValue" />
					<asp:CheckBoxField DataField="ReadOnly" HeaderText="ReadOnly" 
						SortExpression="ReadOnly" />
					<asp:BoundField DataField="CustomProviderData" HeaderText="CustomProviderData" 
						SortExpression="CustomProviderData" />
					<asp:CommandField ButtonType="Button" ShowDeleteButton="True" 
						ShowEditButton="True" ShowInsertButton="True" />
				</Fields>
			</asp:DetailsView>
			<asp:GridView ID="GroupPropertiesGridView" runat="server" CellPadding="5" 
				AutoGenerateColumns="False" DataSourceID="GroupPropertiesGridViewDataSource" 
				DataKeyNames="Name" 
				onselectedindexchanging="GroupPropertiesGridView_SelectedIndexChanging">
				<Columns>
					<asp:CommandField ShowSelectButton="True" />
					<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
					<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
					<asp:BoundField DataField="Provider" HeaderText="Provider" 
						SortExpression="Provider" />
					<asp:BoundField DataField="SerializeAs" HeaderText="SerializeAs" 
						SortExpression="SerializeAs" />
					<asp:CheckBoxField DataField="AllowAnonymous" HeaderText="AllowAnonymous" 
						SortExpression="AllowAnonymous" />
					<asp:BoundField DataField="DefaultValue" HeaderText="DefaultValue" 
						SortExpression="DefaultValue" />
					<asp:CheckBoxField DataField="ReadOnly" HeaderText="ReadOnly" 
						SortExpression="ReadOnly" />
					<asp:BoundField DataField="CustomProviderData" HeaderText="CustomProviderData" 
						SortExpression="CustomProviderData" />
				</Columns>
				<SelectedRowStyle BackColor="SkyBlue" />
			</asp:GridView>
		</fieldset>
	</div>
</asp:Content>